import Vue from "vue";
import App from "./App.vue";
import {
  Button,
  Select,
  Col,
  Row,
  Carousel,
  CarouselItem,
  Card,
  Breadcrumb,
  BreadcrumbItem,
  Image,
  Divider,
  Input,
  Popover,
  Radio,
  Pagination,
  Tag,
  Loading,
  Avatar,
  Progress,
  Tabs,
  TabPane,
} from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import "./assets/css/element-variables.scss";
import "@icon-park/vue/styles/index.css";
import store from "./store/index";
import router from "@/router";

Vue.config.productionTip = false;

//Element-ui 局部引入
Vue.component(Button.name, Button);
Vue.component(Select.name, Select);
Vue.use(Col);
Vue.use(Row);
Vue.use(Carousel);
Vue.use(CarouselItem);
Vue.use(Card);
Vue.use(Breadcrumb);
Vue.use(BreadcrumbItem);
Vue.use(Image);
Vue.use(Divider);
Vue.use(Input);
Vue.use(Popover);
Vue.use(Radio);
Vue.use(Pagination);
Vue.use(Tag);
Vue.use(Loading);
Vue.use(Avatar);
Vue.use(Progress);
Vue.use(Tabs);
Vue.use(TabPane);

new Vue({
  store,
  router,
  render: (h) => h(App),
}).$mount("#app");
